/*
 * Copyright (c) 2014 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

.form-fields {
    display: table;
    width: 100%;
}

.form-row {
    display: table-row;
}

.form-label {
    font-weight: bold;
    color: #959595;
    -webkit-user-select: none;
    cursor: default;
    white-space: nowrap;
    vertical-align: baseline;
    display: table-cell;
    padding: 1.3em 16px;
}

.form-label-textarea {
    vertical-align: baseline;
}

.form-field {
    width: 100%;
    position: relative;
    vertical-align: top;
}

.form-field {
    display: table-cell;
    padding: 1em 16px;
}

.form-error {
    display: block;
    color: #DD4B39;
    font-weight: bold;
    padding-top: 0.5em;
}

.form-error:empty {
    padding: 0;
}

.form-warning {
    color: #9FA6AA;
    font-size: 1em;
}

@media (max-width: 600px) {
    .form-label {
        padding: 1.3em 8px;
        white-space: normal;
    }
}
